# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atkmm2.36
pkgver=2.36.1
pkgrel=1
pkgdesc="C++ bindings for atk"
#options="!check" # No testsuite
url="https://www.gtkmm.org/en/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="at-spi2-core-dev glibmm2.68-dev libsigc++3-dev perl meson m4 doxygen graphviz"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/atkmm/${pkgver%.*}/atkmm-$pkgver.tar.xz"
builddir="$srcdir/atkmm-$pkgver"

replaces="gtkmm"

build() {
	abuild-meson -Dbuild-documentation=true . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
23c831afac6bb9a0f9f2e622f8f9ffea29445a33b1cd650e0c07ee77e60b28ae5ee978c029e8e0f9b94e9ff4679d69ebde833f15e0a5403d97914cc7ccf98a6a  atkmm-2.36.1.tar.xz
"
